package org.jeecg.modules.basicSkuInfo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 基础数据-品番信息
 * @Author: jeecg-boot
 * @Date: 2024-09-30
 * @Version: V1.0
 */
@Data
@TableName("basic_sku_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "basic_sku_info对象", description = "基础数据-品番信息")
public class BasicSkuInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 品番类型
     * 1：PT品
     * 2：市贩品
     */
    @Excel(name = "品番类型", width = 15, dicCode = "goods_type")
    @Dict(dicCode = "goods_type")
    @ApiModelProperty(value = "品番类型")
    private java.lang.Integer skuType;
    /**
     * 所属仓库
     */
    @Excel(name = "所属仓库", width = 15, dictTable = "basic_warehouse", dicText = "warehouse_name", dicCode = "warehouse_code")
    @Dict(dictTable = "basic_warehouse", dicText = "warehouse_name", dicCode = "warehouse_code")
    @ApiModelProperty(value = "所属仓库")
    private java.lang.String warehouseCode;
    /**
     * 品番编码
     */
    @Excel(name = "品番编码", width = 15)
    @ApiModelProperty(value = "品番编码")
    private java.lang.String skuCode;
    /**
     * 品番名称
     */
    @Excel(name = "品番名称", width = 15)
    @ApiModelProperty(value = "品番名称")
    private java.lang.String skuName;
    /**
     * 背番编码
     */
    @Excel(name = "背番编码", width = 15)
    @ApiModelProperty(value = "背番编码")
    private java.lang.String skuBackCode;
    /**
     * 客户编号
     */
    @Excel(name = "客户编号", width = 15)
    @ApiModelProperty(value = "客户编号")
    private java.lang.String customerNo;
    /**
     * 客户名称
     */
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String customerName;
    /**
     * 客户品番
     */
    @Excel(name = "客户品番", width = 15)
    @ApiModelProperty(value = "客户品番")
    private java.lang.String customerSku;
    /**
     * 品番品牌
     */
    @Excel(name = "品番品牌", width = 15)
    @ApiModelProperty(value = "品番品牌")
    private java.lang.String skuBrand;
    /**
     * 入库长度（cm）
     */
    @Excel(name = "入库长度（cm）", width = 15)
    @ApiModelProperty(value = "入库长度（cm）")
    private java.math.BigDecimal enterLength;
    /**
     * 入库宽度（cm）
     */
    @Excel(name = "入库宽度（cm）", width = 15)
    @ApiModelProperty(value = "入库宽度（cm）")
    private java.math.BigDecimal enterWidth;
    /**
     * 入库高度（cm）
     */
    @Excel(name = "入库高度（cm）", width = 15)
    @ApiModelProperty(value = "入库高度（cm）")
    private java.math.BigDecimal enterHigh;
    /**
     * 入库体积（m³）
     */
    @Excel(name = "入库体积（m³）", width = 15)
    @ApiModelProperty(value = "入库体积（m³）")
    private java.math.BigDecimal enterVolume;
    /**
     * 入库规格数
     */
    @Excel(name = "入库规格数", width = 15)
    @ApiModelProperty(value = "入库规格数")
    private java.lang.Integer enterSpecification;
    /**
     * 出库长度（cm）
     */
    @Excel(name = "出库长度（cm）", width = 15)
    @ApiModelProperty(value = "出库长度（cm）")
    private java.math.BigDecimal outLength;
    /**
     * 出库宽度（cm）
     */
    @Excel(name = "出库宽度（cm）", width = 15)
    @ApiModelProperty(value = "出库宽度（cm）")
    private java.math.BigDecimal outWidth;
    /**
     * 出库高度（cm）
     */
    @Excel(name = "出库高度（cm）", width = 15)
    @ApiModelProperty(value = "出库高度（cm）")
    private java.math.BigDecimal outHigh;
    /**
     * 出库体积（m³）
     */
    @Excel(name = "出库体积（m³）", width = 15)
    @ApiModelProperty(value = "出库体积（m³）")
    private java.math.BigDecimal outVolume;
    /**
     * 出库规格数
     */
    @Excel(name = "出库规格数", width = 15)
    @ApiModelProperty(value = "出库规格数")
    private java.lang.Integer outSpecification;
    /**
     * 单个重量（g）
     */
    @Excel(name = "单个重量（g）", width = 15)
    @ApiModelProperty(value = "单个重量（g）")
    private java.math.BigDecimal skuWeight;
    /**
     * 箱子容量
     */
    @Excel(name = "箱子容量", width = 15)
    @ApiModelProperty(value = "箱子容量")
    private Integer boxCapacity;
    /**
     * 标签长度
     */
    @ApiModelProperty(value = "标签长度")
    private Integer labelLength;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
}
